/*Calendar Framework*/
//Calendar1(Start)
// var arr = [
//     "2020-03-4",
//     "2020-03-5",
// ]
// const myCalendar1 = new TavoCalendar('#my-calendar1', {
//     date: "2020-01-01",
//     selected:["2020-03-15"]
// })
//Calendar1(End)

//Calendar2(Start)
// const calendar2 = document.querySelector('#my-calendar2');
//
// const myCalendar2 = new TavoCalendar(calendar2, {
//     date: "2014-12-1",
//     selected: ["2014-12-24"],
//     //range_select: true
// })
//
// calendar2.addEventListener('calendar-select', (ev) => {
//     console.log(myCalendar2.getSelected())
//     $("input[name='dateOption']").val(myCalendar2.getSelected())
// })
//
// calendar2.addEventListener('calendar-change', (ev) => {
//     const m = myCalendar2.getFocusMonth();
//
//
// })

//Calendar2(End)

//Calendar3(Start)
const myCalendar3 = new TavoCalendar('#my-calendar3', {
    date: "2020-01-01",
    date_start: "2020-01-01",
    date_end: "2022-01-01",
    format: "YYYY-MM-DD",
    locale: "de",
    range_select: true,
    selected:["2020-03-15"]
})
//Calendar3(End)
/*Calendar Framework*/